package com.rundatop.dao.model;

import java.util.Date;
import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@ToString
@Accessors(chain = true)
@Table(name = "`sms`")
public class Sms {
    @Id
    @Column(name = "`id`")
    private String id;

    @Column(name = "`phone`")
    private String phone;

    @Column(name = "`code`")
    private Integer code;

    @Column(name = "`createTime`")
    private Date createtime;

    /**
     * 有效日期
     */
    @Column(name = "`youxiaoTime`")
    private Date youxiaotime;

    @Column(name = "`f1`")
    private String f1;

    @Column(name = "`f2`")
    private String f2;

    @Column(name = "`f3`")
    private String f3;

    @Column(name = "`f4`")
    private String f4;

    public static final String ID = "id";

    public static final String PHONE = "phone";

    public static final String CODE = "code";

    public static final String CREATETIME = "createtime";

    public static final String YOUXIAOTIME = "youxiaotime";

    public static final String F1 = "f1";

    public static final String F2 = "f2";

    public static final String F3 = "f3";

    public static final String F4 = "f4";

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getYouxiaotime() {
		return youxiaotime;
	}

	public void setYouxiaotime(Date youxiaotime) {
		this.youxiaotime = youxiaotime;
	}

	public String getF1() {
		return f1;
	}

	public void setF1(String f1) {
		this.f1 = f1;
	}

	public String getF2() {
		return f2;
	}

	public void setF2(String f2) {
		this.f2 = f2;
	}

	public String getF3() {
		return f3;
	}

	public void setF3(String f3) {
		this.f3 = f3;
	}

	public String getF4() {
		return f4;
	}

	public void setF4(String f4) {
		this.f4 = f4;
	}
    
    
}